package com.shop.cereshop.app.dao.recommend;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.app.page.recommend.RecommendCommentVO;
import com.shop.cereshop.commons.domain.recommend.CereRecommendCommentLikes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereRecommendCommentLikesDAO extends BaseMapper<CereRecommendCommentLikes> {
    List<RecommendCommentVO> getLikeStatusAndCount(@Param("buyerUserId") Long buyerUserId, @Param("list") List<Long> recommendCommentIds, @Param("recommendId") Long recommendId);
}
